<?php
use \blog\libs\BHtml;
use \blog\libs\option;
use \blog\libs\BLink;
use \blog\libs\BMeta;
if (!class_exists('Sy')) {
	exit;
}
?>
	<aside class="col s3">
		<div class="card-panel">
			<h4>Tags</h4>
			<div>
			<?php
			$meta = BMeta::getList(['limit' => '0,6', 'sort' => ['num', 'DESC']]);
			while ($one = $meta->next()) {
				echo '<p><a href="' . Sy::createUrl(['article/list', 'type' => 'id', 'val' => $one->id, 'page' => 1]) . '">' . $one->title . '</a></p>';
			}
			?>
			</div>
		</div>
	</aside>